USART_MODE=NORMAL, USCLKS=MCK, CHRL=_5_BIT
Mode Register
USART_MODE | USART Mode of Operation 0 (NORMAL): Normal mode 1 (RS485): RS485 2 (HW_HANDSHAKING): Hardware handshaking 3 (MODEM): Modem 4 (IS07816_T_0): IS07816 Protocol: T = 0 6 (IS07816_T_1): IS07816 Protocol: T = 1 8 (IRDA): IrDA 9 (LON): LON 10 (LIN_MASTER): LIN Master mode 11 (LIN_SLAVE): LIN Slave mode 14 (SPI_MASTER): SPI Master mode (CLKO must be written to 1 and USCLKS = 0, 1 or 2) 15 (SPI_SLAVE): SPI Slave mode |
USCLKS | Clock Selection 0 (MCK): Peripheral clock is selected 1 (DIV): Peripheral clock divided (DIV = 8) is selected 2 (PCK): PMC programmable clock (PCK) is selected. If the SCK pin is driven (CLKO = 1), the CD field must be greater than 1. 3 (SCK): Serial clock (SCK) is selected |
CHRL | Character Length 0 (_5_BIT): Character length is 5 bits 1 (_6_BIT): Character length is 6 bits 2 (_7_BIT): Character length is 7 bits 3 (_8_BIT): Character length is 8 bits |
CPHA | SPI Clock Phase |
CPOL | SPI Clock Polarity |
CLKO | Clock Output Select |
WRDBT | Wait Read Data Before Transfer |